Micron Document
🎖️GitЯра🎖️

Node / meshcore / MeshCore / files / docs / terminal_chat_cli.md

Displaying Raw • View renderedDownload

docs/terminal_chat_cli.md 890a2e2cffa98dea3ca88db3c3aba72ef23ff3f7 (890a2e2c) Text, 1.68 KB

Tc9d1d9# Terminal Chat CLI

Below are the commands you can enter into the Terminal Chat clients:

Ta5d6ff```
set freq {frequency}
```
Set the LoRa frequency. Example: set freq 915.8

Ta5d6ff```
set tx {tx-power-dbm}
```
Sets LoRa transmit power in dBm.

Ta5d6ff```
set name {name}
```
Sets your advertisement name.

Ta5d6ff```
set lat {latitude}
```
Sets your advertisement map latitude. (decimal degrees)

Ta5d6ff```
set lon {longitude}
```
Sets your advertisement map longitude. (decimal degrees)

Ta5d6ff```
set dutycycle {percent}
```
Sets the transmit duty cycle limit (1-100%). Example: Ta5d6ff`set dutycycle 10` for 10%.

Ta5d6ff```
set af {air-time-factor}
```
Sets the transmit air-time-factor. Deprecated — use Ta5d6ff`set dutycycle` instead.

Ta5d6ff
```
time {epoch-secs}
```
Set the device clock using UNIX epoch seconds. Example: time 1738242833

Ta5d6ff
```
advert
```
Sends an advertisement packet

Ta5d6ff```
clock
```
Displays current time per device's clock.

Ta5d6ff
```
ver
```
Shows the device version and firmware build date.

Ta5d6ff```
card
```
Displays *your* 'business card', for others to manually _import_

Ta5d6ff```
import {card}
```
Imports the given card to your contacts.

Ta5d6ff```
list {n}
```
List all contacts by most recent. (optional {n}, is the last n by advertisement date)

Ta5d6ff```
to
```
Shows the name of current recipient contact. (for subsequent 'send' commands)

Ta5d6ff```
to {name-prefix}
```
Sets the recipient to the _first_ matching contact (in 'list') by the name prefix. (ie. you don't have to type whole name)

Ta5d6ff```
send {text}
```
Sends the text message (as DM) to current recipient.

Ta5d6ff```
reset path
```
Resets the path to current recipient, for new path discovery.

Ta5d6ff```
public {text}
```
Sends the text message to the built-in 'public' group channel

Served by rngit 1.5.2 - Generated in 0.05s